package cn.south.campus.admin;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * <p>
 *
 * </p>
 *
 * @author chow
 * @since 2024/10/31 13:24
 */
@SpringBootApplication
@MapperScan("cn.south.campus.admin.*.mapper")
@EnableTransactionManagement
@ComponentScan(basePackages = {"cn.south.campus"})
public class AdminApplication {
    public static void main(String[] args) {
        SpringApplication.run(AdminApplication.class, args);
        System.out.println("============== ADMIN START ============");
    }
}
